package com.css.fxfzysx.modules.vaolEngineering.service;

import com.css.fxfzysx.base.response.RestResponse;
import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxBridgeEntity;
import com.css.fxfzysx.modules.vaolEngineering.entity.CbVulnerabilityEntity;
import com.css.fxfzysx.modules.vaolEngineering.param.update.BridgeParam;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface CbVulnerabilityService {
    RestResponse cobVulnerability(String versionId,String tableId,Integer bridgeType);

    Map<String, Object> uploadBridge(String fileIds, String versionId,String userId,Integer bridgeType) throws Exception;

    HashMap<Integer, ArrayList<String>> getDataValidation(String versionId);

    SmxBridgeEntity getByTableId(String id,Integer bridgeType);

    void updateBridgeById(BridgeParam bridgeParam,Integer bridgeType);

    RestResponse count(BridgeParam param);
}
